<template name="channel_crop_cover">
  <div class="modal crop-modal" id="crop-channel-cover-modal" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-dialog-centered" role="document" style="max-width: 600px;">
      <div class="modal-content">
          <div class="modal-header border-bottom-0 px-0">
            <h5 class="modal-title mx-auto my-3">编辑封面</h5>
            <button type="button" class="crop-modal-close" data-dismiss="modal">
              <i class="material-icons">close</i>
            </button>
          </div>
          <div class="modal-body p-0">
            <div id="crop-channel-cover-content"></div>
          </div>
          <div class="modal-footer border-top-0 px-0">
            <div class="mx-auto mb-3" style="width: 300px;">
              {{#if isUploading}}
                {{> button_loading_block}}
              {{else}}
                <button type="button" class="btn btn-primary btn-block" id="upload-channel-cover-submit">设置为封面</button>
              {{/if}}
            </div>
          </div>
      </div>
    </div>
  </div>
</template>